@import '../../assets/sass/_vars.scss';
@import '../../assets/sass/_mixins.scss';
.fdx-media-list {
  .mint-cell-swipe + .mint-cell-swipe {
    margin-top: 15px;
  }
  .mint-cell-swipe {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  }
}
.fdx-media-item {
  @include equal-flex('.media-body');
  border-radius: 3px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  .row {
    @include equal-flex('.left');
  }
  .media-left {
    position: relative;
    width: 100px;
    background-color: #f7f7f7;
    > div {
      height: 100%;
    }
    .img {
      width: 100%;
      height: 100%;
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
    }
  }
  .media-body {
    padding: 5px 10px 5px 15px;
  }

  .media-header {
    @include equal-flex('.media-title');
    display: flex;
    .media-title {
      font-size:15px;
      @include ellipsis;
      padding-right: 5px;
    }
  }
}
.fdx-media-item + .fdx-media-item {
  margin-top: 15px;
}

.fdx-media-item--left-to-right {
  .media-header {
    @include center-flex();
  }
}
.fdx-media-item--top-to-bottom {
  flex-flow: column;
  // padding:0 15px;
  .media-body {
    width: auto;
    padding: 0;
  }
}
.house-item-size-mini {
  height: 88px;
}
.house-item-size-large {
  height: 96px;
}

.orghouse-media-item {
  position: relative;
  .new,
  .publish {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 2px;
    height: 16px;
    line-height: 16px;
    background-color: $orange;
    font-size: 10px;
    color: #fff;
    border-top-left-radius: 3px;
    text-align: center;
  }
  .publish {
    background-color: $blue;
  }
  .media-body {
    .commission {
      font-size: 12px;
      color: $red;
      .fdx-icon-commission {
        font-size: 15px;
        vertical-align: middle;
      }
      .text {
        vertical-align: middle;
      }
      .commission-mode {
        font-size: 10px;
        color: $text-gray;
      }
    }
    .price {
      font-size: 11px;
      color: $text-gray;
      position: relative;
      top: -1px;
    }
  }
  .media-header {
    .price {
      color: $gray;
      font-weight: bold;
    }
  }
  .media-body {
    .info {
      color: $text-gray;
      font-size: 11px;
    }
  }
}
